#define _CRT_SECURE_NO_WARNINGS 1
#include <math.h>
#include <stdio.h>

int main() {
	int a = 0, b = 0, c = 0;
	scanf("%d %d %d", &a, &b, &c);
	double circumference = 0.0, area = 0.0;
	circumference = (double)(a + b + c);
	double p = circumference / 2;
	area = sqrt(p * (p - a) * (p - b) * (p - c));
	printf("circumference=%.2lf area=%.2lf", circumference, area);
	return 0;
}
